package ar.fiuba.tp7552.buildadmin.util;

import java.util.List;

import org.hibernate.transform.ResultTransformer;

public class AliasToPermissionTransformer implements ResultTransformer {

	public Object transformTuple(Object[] tuple, String[] aliases) {
		return new PermissionView(tuple, aliases);
	}

	@SuppressWarnings("rawtypes")
	public List transformList(List collection) {
		return collection;
	}

}
